<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <base target="_blank">
    <title>Document</title>
    
    <style>
        body{
            background-color: gray;
        }
        /* --------- */
        #pox{
            position: fixed;
            left: 0;
            top: 0;
            height: 100%;
            width: 100%;
            background-color: white;
            z-index: 3;
            
        }
        .tex{
            z-index: 3;
        }
        .first {
            background-color: red;
        }

        .second {
           background-color: yellow;
        }

        .third {
            background-color: cadetblue;
        }
        #pox div{
            position: absolute;
            left: 0;
            top: 0;
            transform: translate(-50%);
            
            border-radius: 50%;
           
        }
        .first{
            animation: first 1s 1 ease-out;
            z-index: 1;
            animation-fill-mode: forwards;
        }
        .second{
            z-index: 2;
            animation: second 0.8s 1 ease-out;
            animation-delay: 0.3s;
            animation-fill-mode: forwards;
        }
        .third{
            z-index: 3;
            animation: third 0.8s 1 ease-out;
            animation-delay: 0.5s;
            animation-fill-mode: forwards;
        }
        @keyframes first{
            0%{
                width: 0;
                height: 0;
                
            }
            100%{
             
                width: 200%;
                height: 200%;
            }
        }
        @keyframes second{
            0%{
                width: 0;
                height: 0;
            }
            100%{
                
                width: 100%;
                height: 100%;
            }
        }
        @keyframes third{
            0%{
                width: 0;
                height: 0;
            }
            100%{
               
                width: 50%;
                height: 50%;
            }
        }
        /* ----------- */
        .tex{
            color: black;
            font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
            position: absolute;
            right: 120px;
            top: 80px;
            font-size: 100px;
            transition: 0.6s;
            animation-fill-mode: forwards;
            animation: tex 3s ease-in;
        }
        @keyframes tex{
            0%{
                opacity: 0;
            }
            100%{
                opacity: 1;
            }
        }
        #defence a{
            margin-top: 7px;
            text-align: center;
            width: 150px;
            height: 80px;
            line-height: 80px;
            text-align: center;
            color: white;
            text-decoration: none;
            background-color: coral;
            border: 3px solid black;
            font-size: 20px;
            border-radius: 5px;
            box-shadow: 3px 3px 3px black;
        }
        #defence a:hover{
            font-size: 25px;
        }
        #defence{
            border-left: 20px black solid;
            border-top: 10px black solid;
            border-right: double 10px black;
            border-bottom: 10px solid black;
            border-radius: 12px;
            width: 400px;
            height: 600px;
            
            display: flex;
            justify-content: space-evenly;
            flex-wrap: wrap;
            background-color: white;
            margin-left: 20%;
            position: relative;
            margin-top: 100px;
        }
        /* 动----------------画 */
        .rightAn{
            position: absolute;
            right: 500px;
            top: 80px;
            border: 1px red solid;

        }
        .An1{
            position: absolute;
            width: 100px;
            color: white;
            line-height: 100px;
            text-align: center;
            height: 100px;
            border-radius: 50%;
            opacity: 0.7;
            background-color: aqua;
           animation: An 6s linear infinite;
           animation-delay: 8s;
        }
        .An2{
            position: absolute;
            width: 180px;
            color: white;
            line-height: 180px;
            text-align: center;
            height: 180px;
            border-radius: 50%;
            opacity: 0.7;
            background-color: red;
            animation: An 6s linear infinite;
            animation-delay: 8s;
        }
        .An3{
            position: absolute;
            color: white;
            line-height: 300px;
            text-align: center;
            width:300px;
            height: 300px;
            border-radius: 50%;
            opacity: 0.7;
            background-color: black;
            animation: An 6s linear infinite;
            animation-delay: 8s;
        }
        @keyframes An{
            0%{
                transform: rotateY(0deg);
            }
            100%{
                transform: rotateY(360deg);
            }
        }
        .page{
            position: absolute;
            
            border-left: 10px black solid;
            text-align: center;
            color: white;
            font-size: 50px;
            font-style: italic;
            line-height: 600px;
            /* border-radius: 12px; */
            left: 0;
            top: 0;
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(red,blue);
            overflow: hidden;
            animation: page 4s linear 1;
            animation-fill-mode: forwards;
            animation-delay: 5s;
        }
        @keyframes page{
            0%{
                width: 100%;
            }
            100%{
                width: 0%;
            }
        }
        .https{
            display: block;
            width: 400px;
            position: absolute;
            top: 400px;
            right: 150px;
            text-decoration: none;
            color: white;
        }
    </style>
</head>

<body>
    <!-- 开头动画 -->
    <div id="pox">
        
        <div class="first"></div>
        <div class="second"></div>
        <div class="third"></div>
        
    </div>
    <div class="tex">Welcome<br>You</div>
    <!-- 链接其他网页 -->
    <div id="defence">
        <div class="page">这里开始</div>
        <a href="./网页/鼠标焦点.html">鼠标焦点</a>
        <a href="./网页/鼠标悬停.html">鼠标悬停</a>
        <a href="./网页/float1.html">浮动作业一</a>
        <a href="./网页/flloat2.html">浮动作业二</a>
        <a href="./网页/float3.html">浮动作业三</a>
        <a href="./网页/促销图.html">促销图</a>
        <a href="./网页/导航.html">导航</a>
        <a href="./网页/数字圆.html">数字圆</a>
        <a href="./网页/字体图标.html">字体图标</a>
        <a href="./网页/bilibili.html">bilibili效果</a>
        <a href="./网页/立方体探究过程.html">立方探究过程</a>
        <a href="./网页/立方体test.html">立方体</a>
    </div>
    <a href="https://gitee.com/yihyp/my-first-codebase.git" class="https">码库地址:https://gitee.com/yihyp/my-first-codebase.git</a>
    <div class="rightAn">
        <div class="An1">Yes</div>
        <div class="An2">Here</div>
        <div class="An3">Begin to Look</div>
    </div>
    

    <script>
        var tex = document.getElementsByClassName("tex")[0];
        var pox = document.getElementById("pox");
        setTimeout(()=>{
            tex.style.display = "none"
            pox.style.display = "none"
        },4000)
    </script>







































</body>

</html>